Skip to content

fix: add retry logic to filter E2E test for LLM non-determinism#608

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/e2e-filter-test-retry
Feb 23, 2026
Merged

fix: add retry logic to filter E2E test for LLM non-determinism#608
FL4TLiN3 merged 1 commit intomainfrom
fix/e2e-filter-test-retry

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • When --filter completeRun is used and the LLM call errors, the runtime emits stopRunByError (blocked by the filter) and exits 0 with zero events, causing the test to fail
  • Adds retry logic (up to 3 attempts) to handle transient LLM failures, matching the existing runCliUntilToolCalled pattern
  • This test has failed consistently (3x in a row) on changeset-release/main, blocking PR chore: version packages #602

Test plan

  • CI passes (typecheck, lint, build, test)
  • E2E filter test passes on changeset-release/main after merge

🤖 Generated with Claude Code

When --filter completeRun is used and the LLM call errors, the runtime
emits stopRunByError (blocked by the filter) and exits 0 with zero
events. Add retry (up to 3 attempts) to handle this case.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit fb490cf into main Feb 23, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the fix/e2e-filter-test-retry branch February 23, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant